<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Value prompts</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
ul.whs1 { list-style:disc; }
p.whs2 { margin-left:40px; }
p.whs3 { margin-left:0px; }
ol.whs4 { list-style:decimal; }
img_whs5 { border:none; width:14px; height:15px; float:none; border-style:none; }
p.whs6 { font-weight:bold; margin-left:24px; }
ol.whs7 { list-style:disc; }
ul.whs8 { list-style:decimal; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs3 {margin-left:1pt; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying reports\nAsking for user input: Prompts\nCreating a prompt\nValue prompt");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Value prompt</h1>
<p>Value prompts are useful when the result desired on the report is a 
 single value, such as a specific date, a number, or a specific word or 
 phrase. The value prompt is designed to return report results based on 
 the data type assigned to the data in your data source. </p>
<p>For example, you want a report that lists all employees whose age is 
 less than 40 years. You create a report with the Employee attribute and 
 the Employee Age attribute. You create a Numeric value prompt while you 
 are creating the report. The Numeric value prompt contains the Employee 
 Age attribute, the operator Less Than, and a Maximum Value set at 50. 
 </p>
<p>This example and an image showing the results of such a prompt can be 
 found in the <span style="font-style: italic;"><I>Answering Questions about 
 Data</I></span> chapter in the <span style="font-style: italic;"><I>MicroStrategy 
 Basic Reporting Guide</I></span>.</p>
<p>Value prompts are typically used on a filter, where they become part 
 of the filter's definition, but they can also be used on a metric as part 
 of the metric's formula. The filter or metric is then placed on a report. 
 Because they are often used in filters, value prompts can be created directly 
 in the Filter Editor at the same time you create the filter in which you 
 want to place the value prompt. When created this way, a value prompt 
 is part of the filter's definition and is not a stand-alone prompt, so 
 it cannot be added to another filter.</p>
<p>The different types of value prompts are:</p>
<ul type="disc" class="whs1">
	
<li class=p><p><span style="font-weight: bold;"><B>Date prompt</B></span>: 
 This value prompt type asks users to type or select a date, and returns 
 data that has the date data type assigned to it and that matches the user’s 
 entered date. For example, the Date prompt can be useful when added to 
 a filter that screens data based on Year=2006. The prompt lets users select 
 a specific date within the year of the filter’s condition. Date prompts 
 are used in filters which qualify on a date.</p></li>
	
<li class=p><p><span style="font-weight: bold;"><B>Numeric prompt</B></span>: 
 This value prompt type asks users to type a numeric value. Numeric value 
 prompts accept integers or decimals up to 15 digits of precision. Numeric 
 prompts can be used in any filter that needs a number input from the user, 
 such as a metric qualification. For information on Metric qualification 
 filters, see 
<a HREF="Filtering_on_metric_values.htm">Filtering data based 
 on metric values or rank: Set qualification</a>.</p></li>
	
<li class=p><p><span style="font-weight: bold;"><B>Text prompt</B></span>: 
 This value prompt type asks users to type a string of text. Text prompts 
 are commonly used in attribute form qualification filters. For information 
 on attribute element list qualification filters, see 
<a HREF="Filtering_on_attribute_elements.htm">Filtering 
 data based on attribute elements: Attribute element list qualification</a>.</p></li>
	
<li class=p><p><span style="font-weight: bold;"><B>Big Decimal prompt</B></span>: 
 This value prompt type asks users for a &quot;big decimal&quot; value. 
 Big Decimal value prompts accept integers and decimals up to 38 digits 
 of precision.</p></li>
</ul>
<p class="whs2"><span style="font-weight: bold;"><B>Note</B></span>: 
 Big Decimal prompts should be used only in expressions that require high 
 precision, such as qualifying on a Big Decimal attribute ID.</p>
<p class="whs3">Long prompts cannot be created from MicroStrategy 
 Web; they must be created in MicroStrategy Desktop. For more information, 
 see the <span style="font-style: italic;"><I>MicroStrategy Basic Reporting 
 Guide</I></span>.</p>
<h2>Prerequisites</h2>
<ul type="disc" class="whs1">
	
<li class=p><p>DHTML must be enabled. See 
<a href="DHTML-only_features_in_Web.htm">Enabling 
 DHTML in MicroStrategy Web</a>.</p></li>
	
<li class=p><p>If you want analysts to answer a prompt by selecting 
 from the results of a search object, a search object must already be created.</p></li>
</ul>
<h2>To create a Value prompt</h2>
<ol type="1" class="whs4">
	
<li class=p><p>Do one of the following:</p></li>
	<ul>
<li style="list-style: disc;" type=disc class=p><p>On the MicroStrategy 
 Web home page, click <span style="font-weight: bold;"><B>Create Prompt</B></span>. 
 The Create Prompt page opens, with a list of the types of prompts you 
 can create. Click <span style="font-weight: bold;"><B>Value</B></span>.</p></li>
		
<li style="list-style: disc;" type=disc class=p><p>From any folder 
 page, click the <span style="font-weight: bold;"><B>Create</B></span> <span style="font-weight: bold;"><B>Prompt</B></span> 
 <img src="images/Create_prompt.gif" x-maintain-ratio="TRUE" width="14px" height="15px" border="0" class="img_whs5"> 
 icon on the menu.</p></li>
	</ul>
</ol>
<p class="whs6">To define the prompt type 
 to be presented to the user</p>
<ol start="2" type="1" class="whs4">
	
<li class=p><p>Specify the type of value prompt:</p></li>
</ol>
<ol type="disc" class="whs7">
	<ul type="disc" class="whs1">
		
<li class=p><p><span style="font-weight: bold;"><B>Date and Time prompt</B></span>: 
 This prompt lets users filter for data related to either a specific date 
 or a range of dates.</p></li>
		
<li class=p><p><span style="font-weight: bold;"><B>Numeric prompt</B></span>: 
 This prompt lets users filter numeric data, usually based on a metric.</p></li>
		
<li class=p><p><span style="font-weight: bold;"><B>Text prompt</B></span>: 
 This prompt lets users filter text data, usually based on attribute forms.</p></li>
		
<li class=p><p><span style="font-weight: bold;"><B>Big Decimal prompt</B></span>: 
 This prompt lets users filter data based on a big decimal value for a 
 metric.</p></li>
	</ul>
</ol>
<ol start="3" type="1" class="whs4">
	
<li class=p><p class="whs3">Click the <span style="font-weight: bold;"><B>General</B></span> 
 tab.</p></li>
</ol>
<ol start="4" type="1" class="whs4">
	
<li class=p><p class="whs3">Specify a title and description 
 for the prompt in the <span style="font-weight: bold;"><B>Title</B></span> and 
 <span style="font-weight: bold;"><B>Instructions</B></span> fields. </p></li>
</ol>
<p class="whs6">To restrict the number 
 of prompt answers</p>
<ol start="5" type="1" class="whs4">
	
<li class=p><p class="whs3">To require users to answer 
 the prompt before running the report, specify whether the prompt requires 
 an answer. Select the <span style="font-weight: bold;"><B>Prompt answer is 
 required</B></span> check box. </p></li>
	
<li class=p><p class="whs3">To set the maximum and minimum 
 values that can be entered by the user, select the <span style="font-weight: bold;"><B>Minimum 
 value</B></span> and <span style="font-weight: bold;"><B>Maximum value</B></span> 
 check boxes and type a value in the respective fields. You can specify 
 a minimum value even if you do not specify a maximum value.</p></li>
	
<li class=p><p class="whs3">To determine whether users 
 can save and reuse their prompt answers, and if so, how many prompt answers 
 they can save for the prompt. From the <span style="font-weight: bold;"><B>Personal 
 answers allowed</B></span> drop-down list, select one of the following: </p></li>
	<ul type="1" class="whs8">
		
<li class=p-TopicTextBulleted><p class=TopicTextBulleted><span 
 style="font-weight: bold;"><B>None</B></span>: This setting does not allow you 
 to save and reuse prompt answers.</p></li>
	</ul>
	<ul type="1" class="whs8">
		
<li class=p-TopicTextBulleted><p class=TopicTextBulleted><span 
 style="font-weight: bold;"><B>Single</B></span>: This setting allows you to save 
 and reuse only one prompt answer.</p></li>
	</ul>
	<ul type="1" class="whs8">
		
<li class=p-TopicTextBulleted><p class=TopicTextBulleted><span 
 style="font-weight: bold;"><B>Multiple</B></span>: This setting allows you to 
 save and reuse multiple prompt answers.</p></li>
	</ul>
</ol>
<p class="whs6"><span><B><span style="font-weight: bold;"><B>To 
 specify the layout and display style of the prompt</B></span></B></span></p>
<ol start="8" type="1" class="whs4">
	
<li class=p><p>Click the <span style="font-weight: bold;"><B>Style </B></span>tab.</p></li>
	
<li class=p><p>From the <span style="font-weight: bold;"><B>Display style</B></span> 
 drop-down list, specify a presentation style, as textbox, 
 for the prompt. This is how the prompt is displayed to the user.</p></li>
</ol>
<ol start="10" type="1" class="whs4">
	
<li class=p><p>To ensure that the prompt's text fields and options 
 are of a fixed size, select the <span style="font-weight: bold;"><B>Fixed 
 textbox width </B></span>check box and type a value in the field.</p></li>
	
<li class=p><p>To allow users to select time before running a report, 
 select the <span style="font-weight: bold;"><B>Allow user to select time</B></span> 
 check box. This option is displayed only when you have selected <span 
 style="font-weight: bold;"><B>Date and Time prompt</B></span> type. </p></li>
</ol>
<p class="whs6"><span><B><span style="font-weight: bold;"><B>To 
 save the prompt</B></span></B></span></p>
<ol start="12" type="1" class="whs4">
	
<li class=p><p>To save the prompt, select <span style="font-weight: bold;"><B>Save 
 As</B></span>. The Save As dialog box opens.</p></li>
	
<li class=p><p>Specify a name, description, and the location in which 
 to save the prompt and click <span style="font-weight: bold;"><B>OK</B></span>.</p></li>
</ol>
<p>All value prompts must be added to either a metric or a filter (depending 
 on the type of value prompt and what you want it to do), and then the 
 metric or filter is added to a report. For a table showing how to add 
 each prompt type to a report, see 
<a HREF="Add_prompts_to_reports.htm">Adding 
 a prompt to a report</a>.</p>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
